package com.liruo.learn.spring.mvc.enumconverter.api;

import java.util.HashMap;

/**
 * @Author:liruo
 * @Date:2023-02-20-21:27:09
 * @Desc
 */
public abstract class AbstractEnumConverter<V, E> implements EnumConverter<V, E>{
    protected final Class<E> enumClazz;
    protected final HashMap<V, E> enumMap;

    public AbstractEnumConverter(Class<E> enumClazz) {
        this.enumClazz = enumClazz;
        this.enumMap = new HashMap<>();
    }
}
